//
//  TipsService.h
//  TipsProject
//
//  Created by Suny on 15/6/4.
//  Copyright (c) 2015年 Suny. All rights reserved.
//

#import "BaseService.h"
#import "TipInfo.h"
#import "UserInfo.h"
#import "TopicInfo.h"

@interface TipsService : BaseService
- (void)publishTipToServe:(TipInfo *)tipInfo finishBlock:(RequestFinishBlock)finishBlock;

- (void)getCollectTips:(NSInteger)pageNumber finishBlock:(RequestFinishBlock)finishBlock;

- (void)getCollectTips:(NSInteger)pageNumber userId:(NSString *)userId finishBlock:(RequestFinishBlock)finishBlock;

- (void)getCreateTips:(NSInteger)pageNumber finishBlock:(RequestFinishBlock)finishBlock;

- (void)getCreateTips:(NSInteger)pageNumber userId:(NSString *)userId finishBlock:(RequestFinishBlock)finishBlock;

- (void)getPraiseTips:(NSInteger)pageNumber finishBlock:(RequestFinishBlock)finishBlock;

- (void)getHotTips:(NSInteger)pageNumber finishBlock:(RequestFinishBlock)finishBlock;

- (void)getInterestedTips:(NSInteger)pageNumber finishBlock:(RequestFinishBlock)finishBlock;


- (void)getTipDetailByTipId:(NSString *)tipId finishBlock:(RequestFinishBlock)finishBlock;


- (void)getTipsFromServe:(NSString *)type
          withPageNumber:(NSInteger)pageNumber
             finishBlock:(RequestFinishBlock)finishBlock;


- (void)getTipsListWithTopicInfo:(TopicInfo *)topicInfp 
					  pageNumber:(NSInteger)pageNumber
				 withFinishBlock:(RequestFinishBlock)finishBlock;


- (void)getInterestedTips:(NSInteger)pageNumber userId:(NSString *)userId finishBlock:(RequestFinishBlock)finishBlock ;


#pragma --
#pragma mark - 技巧收藏/点赞
- (void)priseTipsToServe:(NSString *)userId tipId:(NSString *)tipId finishBlock:(RequestFinishBlock)finishBlock;

- (void)collectionTipsToServe:(NSString *)userId tipId:(NSString *)tipId finishBlock:(RequestFinishBlock)finishBlock;

@end
